{include file="header.tpl" title="Bao tri san pham thau chi"}
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td nowrap="nowrap" width="15%">{$lbl_masanpham}</td>
    <td colspan="3" style="color:#FF0000"><input name="ODTYPE" id="ODTYPE" type="text" style="background:{$colormasanpham}" value="{$ODTYPE}" size="20" maxlength="10" {if $activefield eq 'enabled' } readonly="readOnly"{/if}/>
        *      
        <input type="submit" name="find" value="    " id="replacement_find" {if $activefield eq 'enabled' } disabled="disabled"{/if} /></td>
  </tr>
  <tr>
    <td>{$lbl_tensanpham}</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="ODDESC" type="text" style="background:{$colortensanpham}" value="{$ODDESC}" size="50" maxlength="50" />
    *</span></td>
    </tr>
  <tr>
    <td>{$lbl_loaitiente}</td>
    <td><select name="CURCODE" size="1" >
			{foreach from=$CURCODE item=curr}
			<option value="{$curr}" {if $curr eq $activeCURCODE} selected="selected" {/if} >{$curr}</option>
		{/foreach}
		</select>	</td>
    <td width="15%">{$lbl_cachtralai}</td>
    <td><select name="INTPMT" size="1" style="width:150px;" >

      {foreach from=$INTPMT key=k item=v}

      <option value="{$k}" {if $k eq $activeINTPMT} selected="selected" {/if} >{$v}</option>
 
	  {/foreach}
 
    </select>    </td>
  </tr>
  <tr>
    <td>{$lbl_kyhanlai}</td>
    <td><input name="INTERM" id="INTERM" type="text" value="{$INTERM}" style="background:{$colorkyhanlai}" size="3" maxlength="3" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" />
        <span style="color:#FF0000">*</span>
        <select name="INTRMCD" size="1" style="width:100px;" >
    {foreach from=$INTRMCD key=k item=v}
      <option value="{$k}" {if $k eq $activeINTRMCD} selected="selected" {/if} >{$v}</option>
   {/foreach}
        </select>    </td>
    <td>{$lbl_cosonam}</td>
    <td><select name="YEARBS" size="1" style="width:150px;" >
      
      
      {foreach from=$YEARBS key=k item=v}
	  	
      
      <option value="{$k}" {if $k eq $activeYEARBS} selected="selected" {/if} >{$v}</option>
      
      
	  {/foreach}
    
    
    </select>    </td>
  </tr>
  <tr>
    <td>{$lbl_hanmuc}</td>
    <td><span style="color:#FF0000">
      <input name="ODLIMIT" type="text" style="background:{$colorhanmuc}" value="{$ODLIMIT}" size="20" maxlength="20" onblur="formatNumber2(this,this.value,15,2);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/>
    *</span></td>
    <td nowrap="nowrap">{$lbl_songayanhan}</td>
    <td><span style="color:#FF0000">
      <input name="GRDAY" type="text" style="background:{$colorngayanhan}"  value="{$GRDAY}" size="20" maxlength="10" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" />
    *</span></td>
  </tr>
  
   <tr>
    <td>{$lbl_laisuat}</td>
    <td nowrap="nowrap">
      <input name="INRATE" id="INRATE" type="text" style="background:{$colorlaisuat}" value="{$INRATE}" size="20" maxlength="10" onblur="formatNumber2(this,this.value,4,4);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" />
    % n&#259;m <span style="color:#FF0000">*</span></td>
    <td>{$lbl_malaisuat}</td>
    <td><input name="INRCOD" id="INRCOD" type="text" style="background:{$colorINRCOD}" value="{$INRCOD}" size="20" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');"/></td>
  </tr>
  <tr>
    <td>{$lbl_laisuattoithieu}</td>
    <td><input name="INRFLR" type="text" style="background:{$colorLSsan}" value="{$INRFLR}" size="20" maxlength="10" onblur="formatNumber2(this,this.value,4,4);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright"  />
      % n&#259;m <span style="color:#FF0000">*</span></td>
    <td>{$lbl_laisuattoida}</td>
    <td nowrap="nowrap"><input name="INRCEIL" type="text" style="background:{$colorLStran}" value="{$INRCEIL}" size="20" maxlength="10" onblur="formatNumber2(this,this.value,4,4);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" />
    % n&#259;m <span style="color:#FF0000">*</span></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_TKGLhachtoan}</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="GLPRN" id="GLPRN" type="text"  value="{$GLPRN}" style="background:{$colorGLhachtoan}" size="20" maxlength="10" />
      *</span>
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=GLPRN', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat2232" id="replacement_binoculars" value="     " /></td><td nowrap="nowrap">{$lbl_TKGLhachtoanlai}</td>
      <td nowrap="nowrap"><span style="color:#FF0000">
        <input name="GLINT" id="GLINT" type="text"  value="{$GLINT}" style="background:{$colorGLhachtoanlai}" size="20" maxlength="10" />
        *</span>
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=GLINT', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat2233" id="replacement_binoculars" value="     " /></td></tr>
  <tr>
    <td nowrap="nowrap">{$lbl_TKGLhachtoanthunhap}</td>
    <td><span style="color:#FF0000">
      <input name="GLINC" id="GLINC" type="text"  value="{$GLINC}" size="20" style="background:{$colorGLhachtoanthunhap}" maxlength="10" />
*</span>
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=GLINC', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat2234" id="replacement_binoculars" value="     " /></td>
    <td>{$lbl_VARRATEFLR}</td>
    <td><input name="VARRATEFLR" type="text" class="textright" id="VARRATEFLR" style="background:{$colorVARRATEFLR}" onblur="formatNumber2(this,this.value,4,4);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" onkeypress="return numberOnly(event);" value="{$VARRATEFLR}" size="20" maxlength="10" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_FDPRDCODE}</td>
    <td><span style="color:#FF0000">
      <input name="FDPRDCODE" id="FDPRDCODE" type="text"  value="{$FDPRDCODE}" size="20" style="background:{$colorFDPRDCODE}" maxlength="10" />
*</span>
      <input type="button" onclick="mywindow = window.open('sanphamthauchi_id.php?name=FDPRDCODE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat22342" id="replacement_binoculars" value="     " /></td>
    <td>{$lbl_VARRATECEIL}</td>
    <td><input name="VARRATECEIL" type="text" class="textright" id="VARRATECEIL" style="background:{$colorVARRATECEIL}" onblur="formatNumber2(this,this.value,4,4);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" onkeypress="return numberOnly(event);" value="{$VARRATECEIL}" size="20" maxlength="10" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_VARRATEADD}</td>
    <td><input name="VARRATEADD" type="text" class="textright" id="VARRATEADD" style="background:{$colorVARRATEADD}" onblur="formatNumber2(this,this.value,4,4);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" onkeypress="return numberOnly(event);" value="{$VARRATEADD}" size="20" maxlength="10"></td>
    <td>{$lbl_CHINRATE}</td>
    <td><select name="CHINRATE" size="1" id="CHINRATE"> 
	<option value=""></option>
    {foreach from=$cbo_CHINRATE item=v}
      <option value="{$v}" {if $v eq $CHINRATE} selected="selected" {/if} >{$v}</option>  
   {/foreach} 
    </select>    </td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MAXTERN}</td>
    <td><input name="MAXTERN" type="text" class="textright" id="MAXTERN" style="background:{$colorMAXTERN}"  onkeypress="return numberOnly(event);" value="{$MAXTERN}" size="20" maxlength="5" /></td>
    <td>{$lbl_MAXTERCD}</td>
    <td>
      <select id="MAXTERCD" name="MAXTERCD" size="1" style="width:100px;background:{$colorMAXTERCD}" >
    {foreach from=$cbo_MAXTERCD key=k item=v}
        <option value="{$k}" {if $k eq $MAXTERCD} selected="selected" {/if} >{$v}</option>   
   {/foreach} 
      </select>      </td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
 
<tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'ODTYPE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>

</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
